import { createRouter, createWebHashHistory } from 'vue-router'
const routers = [
    {
        path: '/',
        meta: { title: '' },
        name: '首页',
        component: () => import('../../web/index.vue'),
        children: [
            { path: '/', name: '首页', meta: { title: '首页', hidden: false, icon: 'icon-yonghuguanli_huaban' }, component: () => import('../../web/photoWall/home.vue'), children: [] },
        ],
    },
    { path: '/ddLogin', name: 'ddLogin', meta: { title: 'ddLogin' }, component: () => import('../../web/login/ddLogin.vue'), children: [] },
    { path: '/404', name: '404', meta: { title: '404' }, component: () => import('../../web/404.vue'), children: [] },
    { path: '/pathMatch(.*)', redirect: '/404', hidden: true, meta: { title: '404' } },
]
export default createRouter({
    history: createWebHashHistory(),
    routes: routers,
})
